package home_8_25.dao;

import java.util.List;
import java.util.Map;

public interface BusinessDao {
    //public abstract 自动书写;
    Map<String,Object> login(String name, String pwd);

    List<Map<String,Object>> finAll();

    List<Map<String,Object>> findByName(String name);

    int addBusiness(String name, String id, String address, String explian);

    int editBusiness(String address, String starprice, String deliverprice, String status, String name);

    List<Map<String, Object>> findByName2(String name);

    List<Map<String,Object>> statistics();


}
